package com.cloudkinto.dto.stock.flowing;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class FlowingPageDto {
    private Long id;
    @ApiModelProperty("sku 或者 箱类号")
    private String sku;
    private String spu;
    @ApiModelProperty("产品名称")
    private String productName;
    @ApiModelProperty("自定义箱条码")
    private String customizeBarcode;
    @ApiModelProperty("公司")
    private Long companyId;
    @ApiModelProperty("客户名称")
    private String companyName;
    @ApiModelProperty("客户编号")
    private String companyCode;

    @ApiModelProperty("仓库id")
    private Long whId;
    @ApiModelProperty("仓库名称")
    private String whNameCn;
    @ApiModelProperty("仓库代码")
    private String whCode;

    private String whName;
    @ApiModelProperty("库位id")
    private Long rackId;
    @ApiModelProperty("库位")
    private String cellNo;
    @ApiModelProperty("库存属性 0 正品 1次品")
    private int stockAttribute;
    @ApiModelProperty("变化量")
    private int bookQuantity;
    @ApiModelProperty("单据类型")
    private String orderType;
    @ApiModelProperty("关联单据号")
    private String noteNo;
    @ApiModelProperty("备注")
    private String tips;
    @ApiModelProperty("批次号 就是库存的创建时间 yyyy-MM-dd 格式")
    private String innerBatchNo;
    @ApiModelProperty("处理人")
    private String createByName;

    private Date createTime;

    @ApiModelProperty("剩余总库存")
    private Integer closeQty;

    @ApiModelProperty("剩余批次库存")
    private Integer closeBatchQty;
    @ApiModelProperty("剩余可用库存")
    private Integer closeGoodQty;

}
